﻿using DA.HMI.Models;
using Prism.Mvvm;
using System;
using System.Collections.Generic;
using System.Collections.ObjectModel;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace DA.HMI.ViewModels
{
    public class ProcessStateViewModel:BindableBase
    {
        public ProcessStateViewModel()
        {
            //StationData.Add(new StationModel
            //{
            //    StationId = p.StationId,
            //    ProcessId = p.ProcessId,
            //    PLC = p.PlcID,
            //    Brush = Brushes.Red
            //});
        }
        private ObservableCollection<StationModel> stationData = new ObservableCollection<StationModel>();

        public ObservableCollection<StationModel> StationData
        {
            get { return stationData; }
            set { SetProperty(ref stationData, value); }
        }
    }
}
